import Vue from "vue";

import xinSwipeCell from "./components/xin-swipe-cell.vue";
import pagination from "./components/pagination.vue";
import flowUp from "./components/flowUp.vue";
Vue.component("flow-up", flowUp);
Vue.component("xin-swipe-cell", xinSwipeCell);
Vue.component("pagination", pagination);

const old = wx.getStorageSync("last-login");
if (!old) {
    wx.setStorageSync("last-login", Date.now());
}
import App from "./App";

Vue.config.productionTip = false;
App.mpType = "app";

import store from "@/store/index.js";

const app = new Vue({
    ...App,
    store,
});
app.$mount();
